home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 3034 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: strauss.udel.edu!not-for-mail
  2. From: jcorig@strauss.udel.edu (John Pat Corigliano)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: WB Colors
  5. Date: 11 Feb 1996 01:19:46 -0500
  6. Organization: University of Delaware
  7. Message-ID: <4fk1q2$kfa@strauss.udel.edu>
  8. NNTP-Posting-Host: strauss.udel.edu
  9.  
  10. With 3.0 we have ObtainPen() and ObtainBestPen() to get colors on the
  11. WB screen, but how is this done on versions of the OS previous to 3.0?
  12. i.e., if a user has a 32 color WB, can my program use any color it
  13. wants?  Change any color?  How does color arbitration work for 2.0?
  14.  
  15. On my 256 color WB (PicassoII), WB is using colors 0-3 as its
  16. first four colors and 252-255 as the last four colors and MagicWB
  17. icons are being displayed in colors 4-7 - giving me a 12 color
  18. WB.  So, how many colors does WB reserve for itself (windows, icons,
  19. etc.)?
  20.  
  21. Second, is it possible to make a "sticky" window (like X-Windows)?
  22. i.e. if a user has a WB screen bigger than the diplay, is there an
  23. easy way to maintain my window at a display clip relative position?
  24. So when the user scrolls the screen, my window doesn't move.
  25.  
  26. TIA,
  27. -- 
  28. John Corigliano                                  jcorig@strauss.udel.edu
  29. Computer and Information Science                  University of Delaware
  30. --
  31. "Never drive a car when you're dead."  - Tom Waits
  32.